package com.atguigu.gulimall.seckill.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


/**
 * 优惠服务远程调用
 *
 * @author syh
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    /**
     * 扫描最近3天需要参与秒杀的活动
     *
     * @return
     */
    @GetMapping("/coupon/seckillsession/getLates3DaySession")
    R getLates3DaySession();

}
